package com.uphone.kingmall.bean;

import java.io.Serializable;
import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/25
 *     desc   :
 * </pre>
 */
public class OrderDetailBean {

    /**
     * msg : ok
     * code : 0
     * order : {"orderId":1,"receiverName":"李白","receiverTel":"15012341234","receiverAddr":"石家庄开发区","orderState":30,"refundState":2,"shopId":1,"shopName":"测试店铺","postFee":0,"orderFee":200,"orderNo":"22","orderTime":"2019-01-18 10:19:13","userId":1,"payTime":"--","sendTime":"--","receiveTime":"--","commentTime":"--","userName":"王者","payType":1,"postType":1,"userRemark":"地址变了","goodsAllFee":200,"sendNo":"3909366355891","shopRemark":"中通","sendcoNo":"YD","shopOwnerId":2,"deductType":0,"deductFee":0,"shopPhone":"1111","goodslist":[{"orderGoodsId":1,"goodsId":1,"goodsName":"大苏打","goodsImg":"http://localhost:8082/images/photo1.png","goodsPerFee":100,"goodsSpec":"颜色-蓝色","goodsNum":1},{"orderGoodsId":2,"goodsId":2,"goodsName":"大苏打2","goodsImg":"http://localhost:8082/images/photo1.png","goodsPerFee":100,"goodsSpec":"颜色-蓝色2","goodsNum":1}],"orderStatus":2,"autoReceiveDay":10}
     */

    private String msg;
    private int code;
    private OrderBean order;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public static class OrderBean implements Serializable {
        /**
         * orderId : 1
         * receiverName : 李白
         * receiverTel : 15012341234
         * receiverAddr : 石家庄开发区
         * orderState : 30
         * refundState : 2
         * shopId : 1
         * shopName : 测试店铺
         * postFee : 0
         * orderFee : 200
         * orderNo : 22
         * orderTime : 2019-01-18 10:19:13
         * userId : 1
         * payTime : --
         * sendTime : --
         * receiveTime : --
         * commentTime : --
         * userName : 王者
         * payType : 1
         * postType : 1
         * userRemark : 地址变了
         * goodsAllFee : 200
         * sendNo : 3909366355891
         * shopRemark : 中通
         * sendcoNo : YD
         * shopOwnerId : 2
         * deductType : 0
         * deductFee : 0
         * shopPhone : 1111
         * goodslist : [{"orderGoodsId":1,"goodsId":1,"goodsName":"大苏打","goodsImg":"http://localhost:8082/images/photo1.png","goodsPerFee":100,"goodsSpec":"颜色-蓝色","goodsNum":1},{"orderGoodsId":2,"goodsId":2,"goodsName":"大苏打2","goodsImg":"http://localhost:8082/images/photo1.png","goodsPerFee":100,"goodsSpec":"颜色-蓝色2","goodsNum":1}]
         * orderStatus : 2
         * autoReceiveDay : 10
         */

        private int orderId;
        private String receiverName;
        private String receiverTel;
        private String receiverAddr;
        private int orderState;
        private int refundState;
        private int shopId;
        private String checkCode;
        private String shopName;
        private double postFee;
        private double orderFee;
        private String orderNo;
        private String orderTime;
        private int userId;
        private String payTime;
        private String sendTime;
        private String receiveTime;
        private String commentTime;
        private String userName;
        private int payType;
        private int postType;
        private int installationType;
        private double installationFee;
        private String userRemark;
        private double goodsAllFee;
        private String sendNo;
        private String shopRemark;
        private String sendcoNo;
        private int shopOwnerId;
        private int deductType;
        private double deductFee;
        private String shopPhone;
        private int orderStatus;
        private long autoReceiveDay;
        private List<com.uphone.kingmall.bean.OrderBean.DataBean.GoodslistBean> goodslist;

        public OrderBean(com.uphone.kingmall.bean.OrderBean.DataBean bean) {
            orderId = bean.getOrderId();
            orderState = bean.getOrderState();
            refundState = bean.getRefundState();
            shopId = bean.getShopId();
            checkCode = bean.getCheckCode();
            shopName = bean.getShopName();
            postFee = bean.getPostFee();
            orderFee = bean.getOrderFee();
            orderTime = bean.getOrderTime();
            userId = bean.getUserId();
            postType = bean.getPostType();
            goodsAllFee = bean.getOrderFee();
            shopOwnerId = bean.getShopOwnerId();
            shopPhone = bean.getShopPhone();
            orderStatus = bean.getOrderStatus();
            goodslist = bean.getGoodslist();
            installationType = bean.getInstallationType();
            installationFee = bean.getInstallationFee();
        }

        public int getInstallationType() {
            return installationType;
        }

        public void setInstallationType(int installationType) {
            this.installationType = installationType;
        }

        public double getInstallationFee() {
            return installationFee;
        }

        public void setInstallationFee(double installationFee) {
            this.installationFee = installationFee;
        }

        public String getCheckCode() {
            return checkCode;
        }

        public void setCheckCode(String checkCode) {
            this.checkCode = checkCode;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public String getReceiverName() {
            return receiverName;
        }

        public void setReceiverName(String receiverName) {
            this.receiverName = receiverName;
        }

        public String getReceiverTel() {
            return receiverTel;
        }

        public void setReceiverTel(String receiverTel) {
            this.receiverTel = receiverTel;
        }

        public String getReceiverAddr() {
            return receiverAddr;
        }

        public void setReceiverAddr(String receiverAddr) {
            this.receiverAddr = receiverAddr;
        }

        public int getOrderState() {
            return orderState;
        }

        public void setOrderState(int orderState) {
            this.orderState = orderState;
        }

        public int getRefundState() {
            return refundState;
        }

        public void setRefundState(int refundState) {
            this.refundState = refundState;
        }

        public int getShopId() {
            return shopId;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public double getPostFee() {
            return postFee;
        }

        public void setPostFee(double postFee) {
            this.postFee = postFee;
        }

        public double getOrderFee() {
            return orderFee;
        }

        public void setOrderFee(double orderFee) {
            this.orderFee = orderFee;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(String orderTime) {
            this.orderTime = orderTime;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getPayTime() {
            return payTime;
        }

        public void setPayTime(String payTime) {
            this.payTime = payTime;
        }

        public String getSendTime() {
            return sendTime;
        }

        public void setSendTime(String sendTime) {
            this.sendTime = sendTime;
        }

        public String getReceiveTime() {
            return receiveTime;
        }

        public void setReceiveTime(String receiveTime) {
            this.receiveTime = receiveTime;
        }

        public String getCommentTime() {
            return commentTime;
        }

        public void setCommentTime(String commentTime) {
            this.commentTime = commentTime;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getPayType() {
            return payType;
        }

        public void setPayType(int payType) {
            this.payType = payType;
        }

        public int getPostType() {
            return postType;
        }

        public void setPostType(int postType) {
            this.postType = postType;
        }

        public String getUserRemark() {
            return userRemark;
        }

        public void setUserRemark(String userRemark) {
            this.userRemark = userRemark;
        }

        public double getGoodsAllFee() {
            return goodsAllFee;
        }

        public void setGoodsAllFee(double goodsAllFee) {
            this.goodsAllFee = goodsAllFee;
        }

        public String getSendNo() {
            return sendNo;
        }

        public void setSendNo(String sendNo) {
            this.sendNo = sendNo;
        }

        public String getShopRemark() {
            return shopRemark;
        }

        public void setShopRemark(String shopRemark) {
            this.shopRemark = shopRemark;
        }

        public String getSendcoNo() {
            return sendcoNo;
        }

        public void setSendcoNo(String sendcoNo) {
            this.sendcoNo = sendcoNo;
        }

        public int getShopOwnerId() {
            return shopOwnerId;
        }

        public void setShopOwnerId(int shopOwnerId) {
            this.shopOwnerId = shopOwnerId;
        }

        public int getDeductType() {
            return deductType;
        }

        public void setDeductType(int deductType) {
            this.deductType = deductType;
        }

        public double getDeductFee() {
            return deductFee;
        }

        public void setDeductFee(double deductFee) {
            this.deductFee = deductFee;
        }

        public String getShopPhone() {
            return shopPhone;
        }

        public void setShopPhone(String shopPhone) {
            this.shopPhone = shopPhone;
        }

        public int getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(int orderStatus) {
            this.orderStatus = orderStatus;
        }

        public long getAutoReceiveDay() {
            return autoReceiveDay;
        }

        public void setAutoReceiveDay(long autoReceiveDay) {
            this.autoReceiveDay = autoReceiveDay;
        }

        public List<com.uphone.kingmall.bean.OrderBean.DataBean.GoodslistBean> getGoodslist() {
            return goodslist;
        }

        public void setGoodslist(List<com.uphone.kingmall.bean.OrderBean.DataBean.GoodslistBean> goodslist) {
            this.goodslist = goodslist;
        }
    }
}
